
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module simpleparse.tests.test_deep_nesting</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="simpleparse.html"><font color="#ffffff">simpleparse</font></a>.<a href="simpleparse.tests.html"><font color="#ffffff">tests</font></a>.test_deep_nesting</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/mcfletch/pylive/simpleparse/tests/test_deep_nesting.py">/home/mcfletch/pylive/simpleparse/tests/test_deep_nesting.py</a></font></td></tr></table>
    <p></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="simpleparse.stt.TextTools.TextTools.html">simpleparse.stt.TextTools.TextTools</a><br>
</td><td width="25%" valign=top><a href="pprint.html">pprint</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>AnyInt</strong> = &lt;Any Integer&gt;<br>
<strong>NullResult</strong> = &lt;Null Children&gt;<br>
<strong>declaration</strong> = "testparser := as?<font color="#c040c0">\n</font>as := a,as?<font color="#c040c0">\n</font>a := 'a'<font color="#c040c0">\n</font>"<br>
<strong>expectedResult</strong> = (1, [('as', 0, 4, [('a', 0, 1, &lt;Null Children&gt;), ('as', 1, 4, [(...), (...)])])], 4)<br>
<strong>parser</strong> = (('as', 204, ([(('as', 204, (...), 1, 1),), (('a', 21, 'a'), ('as', 204, (...), 1, 1)), ((None, 21, 'a'),)], 1), 1, 1),)<br>
<strong>result</strong> = (1, [('as', 0, 4, [('a', 0, 1, None), ('as', 1, 4, [(...), (...)])])], 4)<br>
<strong>testdata</strong> = 'aaaa'</td></tr></table>
</body></html>